/* ===========
	工具样式
   =========== */
.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

body {
    background: url(../pic/bg.png);
    color: #666;
}
/*首页开始*/

/* 面板 */
.hyblog-panel{margin-bottom: 15px; border-radius: 2px; background-color: #fff; box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);}
.hyblog-panel[pad20]{padding: 20px;}
.hyblog-panel-title{position: relative; height: 50px; line-height: 50px; padding: 0 15px; border-bottom: 1px dotted #E9E9E9; color: #333; border-radius: 2px 2px 0 0; font-size: 14px;}
.hyblog-panel-main{padding: 10px 15px;}

/*头部开始*/

.header {
    height: 60px;
}

.header .layui-container .icon-height-60 {
    height: 60px;
}

/* 头部结束 */

/*公告部分*/
.notice {
    margin: 10px 0 10px;
    background: #fff;
    /*css圆角样式*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
    color: #009688;
}

/*文章列表部分*/
.layui-btn-mini {
    height: 22px;
    line-height: 22px;
    padding: 0 5px;
    font-size: 12px;
}

.blog_list .blog_card {
    padding: 10px;
    border-bottom: 1px solid #eee;
    margin: 10px 0;
    background-color: #fff;
    border-left: 2px solid #fff;
}

.blog_list .blog_card:hover {
    background-color: #FCFCFC;
    border-left: 2px solid #1AA195;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.blog_list .blog_card .reprint {
    background-color: #FF5722;
    font-size: 12px;
    position: relative;
    top: -1px;
}

.blog_list .blog_card .title {
    font-size: 16px;
    display: inline-block;
    margin-left: 10px;
}

.blog_list .blog_card .title a:hover {
    color: #1AA195;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.blog_list .blog_card .desc {
    text-indent: 2em;
    padding: 10px;
    line-height: 25px;
    max-height: none;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.blog_list .blog_card .pic {
    margin: 10px;
    max-width: 90%;
    overflow: hidden;
}

.blog_list .blog_card .data {
    margin-top: 10px;
    padding: 0 30px;
    text-align: right;
}

.blog_list .blog_card .data span {
    margin: 0 10px;
}


/*文章列表结束*/


/*右侧边栏开始*/
.right-util div{
    /*background: #fff;*/
    /*css圆角样式*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
    /*margin-top: 10px;*/
    /*padding: 20px 0 20px;*/
}
.aboutme{
    margin: 10px 0 10px;
    padding: 20px 0 20px;
    background: #fff;
}

.aboutme img{
    display: block;
    width: 120px;
    margin: 15px auto;
}
.aboutme .persion-resume{
    display: block;
    /*如果修改了里面的字，需要手动调整一下这里的宽度*/
    width: 218px;
    margin:0 auto;

}
.aboutme .persion-resume li{
    display: inline;
}


/*标签的实现方法*/
.cloud {margin-left: 0px; width: 95%; clear: both; overflow: hidden }
.cloud h3 { line-height: 40px; color: #38485A; font-size: 18px; border-bottom: 1px solid #E6E6E6; height: 40px; }
.cloud ul { margin: 0px 0 }
.cloud ul li { line-height: 24px; height: 24px; display: block; background: #999; float: left; padding: 3px 11px; margin: 10px 10px 0 0; border-radius: 8px; -moz-transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; }
.cloud ul li a { color: #FFF }
.cloud ul li:nth-child(8n-7) { background: #8A9B0F }
.cloud ul li:nth-child(8n-6) { background: #EB6841 }
.cloud ul li:nth-child(8n-5) { background: #3FB8AF }
.cloud ul li:nth-child(8n-4) { background: #FE4365 }
.cloud ul li:nth-child(8n-3) { background: #FC9D9A }
.cloud ul li:nth-child(8n-2) { background: #EDC951 }
.cloud ul li:nth-child(8n-1) { background: #C8C8A9 }
.cloud ul li:nth-child(8n) { background: #83AF9B }
.cloud ul li:first-child { background: #7c0085}
.cloud ul li:last-child { background: #3dafdb}
.cloud ul li:hover { border-radius: 0; text-shadow: #000 1px 1px 1px }
/*标签end*/

/*友情链接*/
.friend-link dd{display: inline-block; vertical-align: top;}
.friend-link a{line-height: 24px; padding-right: 15px;}
/*友情链接end*/
/*右侧边栏结束*/

/* start foooter */
.hy-blog .footer {
    width: 100%;
    padding: 20px 0;
    line-height: 30px;
    background: #23262e;
    color: #fff;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
}

.hy-blog .footer span {
    padding: 0 5px;
}

.hy-blog .footer a {
    color: #fff;
    color: rgba(255, 255, 255, 0.5);
}
/*首页结束*/

/* end foooter */

/*文章详情页相关*/
.article-content-area{
    background: #fff;
}

.article-header .article-title{
    color: #000;
    text-align: center;
    margin: 15px 0;
}
.article-header .meta{
    text-align: center;
}
.article-header .meta span{
    margin: 5px 10px;
}
.article-body .content{
    /*非常重要的一个css函数*/
    /*markmd插件要求div占用100%，但还有20的padding，导致内容超出去，无奈之下，重新定义宽度。*/
    width:calc(100% - 40px);
}
.article-content-area .article-footer{
    color: #7a3611;
    text-align: center;
}
.article-content-area .article-footer span{
    display: inline-block;
    padding-bottom: 20px;
}
.comment-area{
    margin: 20px 0;
}
.comment-area .comment-item{
    background: #eeeeee;
    padding-bottom: 30px;
    margin-bottom: 15px;
}
.comment-area .comment-info{
    padding: 10px 15px;

}
.comment-area .comment-text{
    color: #000000;
    padding: 0 15px;
}

.comment-item .comment-info .nickname{
    text-align: left;
}

.comment-item .comment-info .vote{
    text-align: right;
}
.comment-write .btnbox{
    text-align: right;
}

/*添加有序列表和无序列表的序号*/
#content li{
    list-style: inherit;
}
/*文章详情页end*/

/*留言板start*/
.msgbox{
    background: #fff;
    padding: 10px;
}
.msgbox .msgbox-comment-write{
    padding: 30px;
}

.msgbox-comment-write .btnbox{
    text-align: right;
}

.msgbox-comment-area .comment-item{
    margin: 20px;
    padding: 10px;
    background: #eee;
}
/*留言板end*/

/*搜索开始*/
.search-warp{
    background: #fff;
    padding: 20px;
}

.search-warp .search-result{
    margin: 10px 0;
}

.search-warp .result-item{
    background: #eeeeee;
    padding: 10px;
    margin: 10px 0;
}
.search-warp .data{
    text-align: right;
}
.search-warp .data span{
    margin-left: 10px;
}
/*搜索结束*/

/*文章归档*/
.archive-panel{
    background: #fff;
    /*css圆角样式*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.one-item{
    /*padding: 10px 0;*/
}
.one-item .archive-time{
    color: #c70000;
    padding-left: 20px;
}
.archive-content{
    padding-left: 20px;
}
.archive-content ul li {
    list-style-type: disc;
}
/*文章归档end*/

/*关于*/
.about{
    background: #fff;
    /*css圆角样式*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin: 20px 0 10px;
}
/*关于end*/